Add a tags target to the Xen Makefile.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/web-shutdown.tap
tools/xentrace/xentrace
tools/xfrd/xfrd
+xen/tags
+xen/TAGS
xen/arch/x86/asm-offsets.s
xen/arch/x86/boot/mkelf32
xen/drivers/pci/classlist.h
echo ""; \
echo "#endif") <$< >$@
-.PHONY: default debug install dist clean delete-unfresh-files TAGS
+.PHONY: default debug install dist clean delete-unfresh-files TAGS tags
SUBDIRS = arch/$(TARGET_ARCH) common drivers
TAGS:
find include -type d \( -name "asm-*" -o -name config \) -prune -o \
-name '*.h' -print; \
find $(SUBDIRS) -name '*.[ch]' ) | grep -v /SCCS/ | etags -
+tags:
+ ( find include/asm-$(TARGET_ARCH) -name '*.h'; \
+ find include -type d \( -name "asm-*" -o -name config \) -prune -o \
+ -name '*.h' -print; \
+ find $(SUBDIRS) -name '*.[chS]' ) | grep -v /SCCS/ | xargs ctags
MAP:
nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map